.fx-divider {
  transition: all 0.3s;

  &.fx-divider-vertical {
    position: relative;
    top: -.06em;
    display: inline-block;
    width: 1px;
    height: .9em;
    margin: 0 8px;
    vertical-align: middle;
    background: #ccc;
  }

  &.fx-divider-horizontal {
    width: 100%;
    position: relative;
    top: -.06em;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 16px 0;

    &.dashed {
      > .before, > .after {
        border: 1px dashed #ccc;
      }
    }

    &.fx-divider-horizontal-left {
      > .before {
        width: 30px;
        min-width: 30px;
      }
    }

    &.fx-divider-horizontal-right {
      > .after {
        width: 30px;
        min-width: 30px;
      }
    }

    > .before, > .after {
      width: 100%;
      border-top: 1px solid #ccc;
      transition: width 0.15s;
    }
  }
}
